package com.wenson.structural.bridge;

/**
 * @ClassName: BridgeClient
 * @Author: luowangcheng
 * @Date: 2024/6/15 10:09
 * @Description:
 */
public class BridgeClient {
    public static void main(String[] args) {
        // 白色画笔对应的所有形状
        new WhitePen(new CircleRuler()).draw();
        new WhitePen(new SquareRuler()).draw();
        new WhitePen(new TriangleRuler()).draw();

        // 黑色画笔
        new BlackPen(new CircleRuler()).draw();
        new BlackPen(new SquareRuler()).draw();
        new BlackPen(new TriangleRuler()).draw();
    }
}
